package com.pcbly.web.persistence.calendar;

/**
 * @author carl.song
 * Copyright (c) 2010 Lightsoft, International.
 * All rights reserved.
 *
 */
import com.pcbly.web.bean.calendar.CalendarEventBean;
import com.pcbly.web.persistence.BaseDao;
import com.pcbly.web.components.hibernate.support.Page;

public interface CalendarEventDao extends BaseDao<CalendarEventBean> {

	void removeCalendarEventBeanByIds(String ids) throws Exception;

	void removeCalendarEventBeanById(String id) throws Exception;

	CalendarEventBean updateCalendarEventBeanDoneFlagById(String id,
			String doneFlag) throws Exception;

	CalendarEventBean saveCalendarEventBean(CalendarEventBean calendar)
			throws Exception;

	Page<CalendarEventBean> findCalendarEventBeanByCond(CalendarEventBean bean,
			Page<CalendarEventBean> page, String orderByName, boolean asc)
			throws Exception;
}